package com.yvtian.inv.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (inv_bom_shop)表实体类
 *
 * @author long
 * @since 2024-05-09 14:29:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "inv_bom_shop")
public class InvBomShopEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField(value = "shopCode")
    private String shopCode;
    /**
     * 物料名称
     */
    @TableField(value = "shopName")
    private String shopName;
    /**
     * BOM编码
     */
    @TableField(value = "bomCode")
    private String bomCode;
    /**
     * BOM名称
     */
    @TableField(value = "bomName")
    private String bomName;
    @TableField(value = "bomId")
    private Integer bomid;
    @TableField(value = "shopId")
    private Integer shopid;
    /**
     * 数量
     */
    @TableField(value = "required_count")
    private BigDecimal requiredCount;
    /**
     * 单位
     */
    @TableField(value = "unit")
    private String unit;
    /**
     * 单价
     */
    @TableField(value = "price")
    private BigDecimal price;
    /**
     * 费用
     */
    @TableField(value = "amount")
    private BigDecimal amount;
    /**
     * 0:未删除，1已删除
     */
    @TableField(value = "is_del")
    private Integer isDel;
    @TableField(value = "del_time")
    private Date delTime;
    @TableField(value = "del_name")
    private String delName;
    @TableField(value = "create_time")
    private Date createTime;
    @TableField(value = "create_name")
    private String createName;
    @TableField(value = "update_time")
    private Date updateTime;
    @TableField(value = "update_name")
    private String updateName;
    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;

    /**
     * 库存数量
     */
    @TableField(value = "quantity")
    private BigDecimal quantity;

    /**
     * 型号规格
     */
    @TableField(value = "attribute")
    private String attribute;

}
